<div class="message">
<?php
echo ucfirst($type).": ".$content_for_layout;
?>
</div>